fixed PortalButton bug