canvas functionality (hovered & selected)