Only use default pos if top/left are undefined

Allows 0 (which is falsey) to be passed as an offsets. Fixes #141