fix for int cast on opacity of keyframe values