Fixed issues in BitmapUtils and DragManager (CreateJS).

Also did a little code cleanup.