Fixed bug 5171 - PollEvent impacts performance in 2.0.12

On some systems, GetClipCursor() impacts performance when called frequently, so only call it every once in a while to make sure we haven't lost our capture.
3 files changed