Buttons draw properly during zooming