Made input callbacks lock during transitions and lockinput.