Need help with Camera stopping at the right time

Apologies, that was only limiting the upper x.

This clamp should work ok though: