IMELayout() now switches to previous layout when activating twice