Protection and logging for #1463. Fixed an issue with spectate camera script bounds.