moved controller and cursor registration on the VectorContext into the draw method to fix bug (zoom in/out and zoom via rectangle in the map did not work)