Yet another input bug fixed.