Refactor drawTile out of drawBoard