fix bugs that the square style point show immediately