Would you mind sharing the force you are using? Please provide your schematic diagram.
The hard stop has a stiffness value, which, if less than applied force, would allow a translation. For example, if applied force is 20N and hard stop stiffness is 10N/m, it will allow the spring to move beyond the upper bount for up to 2 m.