Fix for clicking and releasing on the same cube issue