Changed evaluation logic of EXEC_ON_FRAME to reuse frame arrays.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>