added reset for ball trapped in wall