fix the rts camera bug