renderer: fix decals on 64 bit linux refs #364