Merge "Fix issue in Selection with negative line spacing" into devel/master