fixed strict mode error in motion_distort
fixed crash in observer chat code