adding dirty flag to camera
adding setCenter to camera