Menu position auto adjust on window resize

Bug found and fixed on window resize