Remove maxWindow