Modifies some logic in ScreenManager.Update to make sure that input is handled first followed by updates.