inputpanelv1window: fix showing and hiding
Instead of InputMethod directly calling showClient() on the input panel, call methods that properly show or hide the panel as needed, with readyForPainting set appropriately. This removes the cases where it's shown without being ready for painting, which causes crashes. BUG: 459404
Loading