bug fix in camera manipulation