Update ofAppGLFWWindow.cpp

fixes #3012

i was hoping to do this as a PR via the GitHub interface, but since i have write rights, there's no option here to PR, just to commit.

tested here and works exactly as expected. can't see how this would cause other bad changes

apologies if i'm breaking the rules!