invalidate-bitmap-cache in editor<%>

When on-paint is overridden, call this method when the state of on-paint's drawing changes.