It usually works in corners
I believe the answer is:
stapler
(Other definitions for stapler that I've seen before include "Office fastener" , "Item of office equipment" , "Implement for inserting paper fasteners" , "Paper fastener" , "It's used to attach leaves" .)