Fixed zooming problem on initialize