Fixing coordinate system, zoom, added a real viewport, and more