Fixed problem with non-working drag'n'drop for tabs

Caused by wrong reference.