Invalidate is only called after solving the maze and only if animations are
turned off.