Fixed a camera init issue.