Correct editor painting