Don't change protein on keypress if typing in a box
Move the growing container flag to avoid ugly rendering glitch