Fixed camera class implementation.