Fixed math in rect/rect collision