Cancelled CSS class name according to 'ghost' css and setting it to the floating element.