Bug fixes for #70, #107, and #114: Issues regarding canvas buttons/links. Fixed these issues and made some further improvements.