added logic to reset mouse/keyboard events if the current Layer is set to force the view, previously the events did not reset so as soon as the next Layer would begin it would see the input and act accordingly