Move paint gizmo code to utility class
Refactor paint mode handling
Fix default sprite creation