Extracted local variable for offset in collidesWithWall