zoom in is not correctly calculated