Fixed soft input mode issues