Fix JGLFW minimize/maximize/snap on Windows.