paint and eraser now working correctly