Partial fix to camera functionality.