added camera clipping