Added panLimit to camera