(Minor) Added const to 2 functions.
Update to calculate viewport from pivot's center
Fixed Physics bug.