Input for camera added.
Bug fixed for rendering system.