melonjs: fix for retina displays