Fixed html 5 camera bug