Fixed bug that prevented selected region from being visible