Make sure that UI buttons are released when rendering of a UI stage is stopped. This is the expected behaviour