paintOver mode fixed