Fix issue with zoom causing too many reflows