Calculate bounds and skip if the size is larger than canvas, fix #12
Fix misspelled "occupied"
Expose dimension information to click and hover callbacks, fix #13
lint fix