Custom cursor problem

i created my own custom cursor, but the moment i click and drag on my own customized scroll bar, the cursor freezes and i cant make it to move again:) any advice:)