Fixed error that prevent game board being drawn properly