fix railBorderXWidth and railBorderYWidth

fix railBorderYWidth because it was NaN