fix zIndex stuff in settings menu, fixes #266