Made search area visible and adjust it in corner cases.