fixed bug with shift key down while resizing as well as bug of exception in scene when removing a freshly loaded resource