Fix bugs with save/scrollbar and item position. The realsize gives the boundingRect of the tree (need to be renamed in boundingRect).