Rendering logic. Camera position adjustments.

Bit a hacky code. I will cleanup in next change.