Improved camera initialization to avoid collisions