Board resets when switching screens