Fix bug with zoom