Rolling shutter compensation