Bug in modifiers state copy.