Add a check for negative bounds when translating the overlay