Fix for limit X of plot