Extended redraw() method to fix behavior during editing