Fixing the border pixel when there is a negative position.