camera fix + waits for connection to server