Revert "Fix for windows adjustable view size"

This reverts commit cfe3bf070138820ee31b8111c652ec1d70b5325f.