Possible fix for #309
Force custom controls onShow #309