Support max-height for pseudo PM windows