resolved ball flickering issue in GameManager.js