Calculating canvas height and width correctly ONGOING clearScreen when changing canvas Size (possibly due to initansi or changing coordinates)