fix bug render wrong : hat and vector