fix camera resolution on some devices