Cursor fix for NSPanel and unfocused windows