Some attempted fixes for magic zoom