Fixed a small view issue concerning camera panning.