Fixed reference to map div when changing cursors