Fixed compile bugs. Zooming code is broken