Fix for resting contact events