Fixed zoom related bug