Remove empty entries from split string
Correct faulty camera centering logic