Fix behavior onShow proxy