cap the client (and frame) window's dimensions at the range of an unsigned short...