Fixed bug in VFocus.replace