Fixes some window placement annoyances.