-fixed repainting glitch
-fixed repainting glitch