Remove options perventing foreground mode from working.