Fixes inputs transition bug