fixed compatibility issues with love2d v0.9.X