Fixing camera crashes with version < 2.0