Fixed bugs with camera on Android