Fix for Pause key bug.

Small bug fix. tested - windowGL, windowDX, win8. All works.