Fix wrong display of cursor when hovering over tool buttons