Fixed Highstock issue with mispositioned xAxis when a floating legend was present. Closes #1816.