fixed the bug of UI button

fixed the bug of UI button