Small bug fix for zoom