fix "palette cursors not visible after use of its hotkeys"

Merged Thomas Bernard requested to merge miniupnp/grafX2:issue_100 into master