Fix error when photonui is imported from <head> (closes #4)