Set a fixed size to the scene. If you forget to do it, the scene will expand to hold all items you place in it. If you add a new item, the scene expands and as the scene is centred in the view, other items will seem to "move" (in fact they won't, the scene will move in the view). See QGraphicsScene::setSceneRect()
Bookmarks