Bug fixes

Fixed the resizable window bug (untested on mac) and the entity copy bug