- Replaced options.position by options.offset
- Fixed some cases where the options.display was not considered