fix boundary generation and bound camera within them