Toggle cursor visibility, working on 'paint' function (panel.cpp)