Show and hide cursor when appropriate

Fixes https://github.com/jlnr/gosu/issues/222

Not sure if it's the best place to put it though.

@jlnr