fixed zooming problem due to deep copy