Added logic to set tileset memory location prior to drawing