Fixed the dropping bug