fix windows size & prevent windows maximize