Fixed button behavior after zooming