Hey everyone so this is the solution to this problem.
To disable the dropping of items via mouse drag you have to override the #mouseMovedOrUp() method (not the mouse clicked method) like so
To disable the dropping of items via the "Q" Key (or whichever key this functionality gets bound to) use the following in your gui class
and it works