Ratchet mechanism

I am trying to create the behavior of a ratchet and pawl in Motion (2013).  The behaviour is not what I expected, with the pawl 'breaking' through what should be the hard stop of the ratchet.  Does anyone have any advice to offer?

I have applied downward gravity, a contact set between the ratchet wheel and the pawl. 

SolidworksMotion Studies