tile coords to layer pixel