fixed alpha not being recognized (workaround, need to fix it properly, though)