Ported over new camera stuff from Takua 0.5.14.08a