Added menu position check (if menu is clipped off screen, clamp menu back into visible screen view).