     /**
     * This function restores the default cursor if there is no locked cursor on
     * the screen.
-    * 
+    *
     * @access private
     */
     static function restoreCursor () :void {
         if ( __amLocked ) { return; }
         cursorSprite.stopDrag();
         cursorSprite.visible = false;
+        LFCApplication.stage.removeEventListener(Event.MOUSE_LEAVE, mouseLeaveHandler);
         globalCursorResource = null;
+        Mouse.cursor = MouseCursor.AUTO;
         Mouse.show();
     }
 


    /**
    * Restores the default cursor.
    * 
    */
    static function unlock () :void {
        __amLocked = false;
        restoreCursor(); 
    }

    static function initCursor () :void {

    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.ui.Mouse;
    import flash.ui.MouseCursor;
    }#


