Updated paste handle to account for pasting from context menu