Refactored Tile->Pixel calculation and level setup