Issue #1361218 by Owen Barton: Fixed Focus jumps to tab when pressing enter on a form element within tab.