win: Don't allow maximzing a unresiazble frameless window

Fixes #857.