When calculating the relative location, make sure it can't be less than 0, 0