work around firefox camera bug