fix positioning during zoom