Hack for motion detect fix.