Worked on ray picking logic for painting