Fixed OSD selector gap, and corrected stupid mistake in OSD detection.

I was very tired at the time.