Improved movement detection (camera)