fixed bug with zoom