Some bullcrap code and working even click/drag split (with mouse x compensation