Made canvas use correct sizes based on pixel density