Found problem with file loading. Canvas cannot read pixels beyond its dimensions. It doesnt error, it just reads 0 no matter what