Allowing proper window re-use.