[Mac] Fix #1043: don't constrian window frame