fixed incorrect focus after element move