fixing ball total to not push canvas