bug-fix: floating alerts of zero length made search bar unclickable