Support for isIdentityAction + optimize repaint of ScaleSlider