Fixed Window minimum size issue (osx), closes #854