Fix for windows adjustable view size