def screen_point_to_layer(map_layer, point):
    """Convert a pair of coordinates from a screen projection to layer projection."""
    return [point[0] + (map_layer.xoffset + (map_layer.view.left * map_layer.data.tilewidth)),
            point[1] + (map_layer.yoffset + (map_layer.view.top * map_layer.data.tileheight))]