introduced automatic creation of "ghostElement"s, need to update focusing code around ghost elements