Fix weird visual effect