Prevent wrap-around