Fixed bug in sticking friction model