Fixed refactoring issue that bombed my whole Paint