enable painting reordering