Ended function to paint the correct balls at the start