remove menu flickering