Made compatible with latest version of Love (1.9)