turned off window adjusting size when closed