Correct label position #179

#179 
I think the labels are always not at the correct position but this code fixes it.