bugfix for when focu goes straight to iframe