Pulled getMiddleX up from Bat to GameObject.