Fixed mouse up issue