Automaton now matches window size