remove the paintEvent to avoid calculate too much, which cause crash