Added offset to allow the use of negative coordinates.