Only use default pos if top/left are undefined

Allows 0 (which is falsey) to be passed as an offsets. Fixes #141
Merge pull request #144 from edg2s/patch-2

Only use default pos if top/left are undefined