Fix palette creation for all frame

Signed-off-by: Daniel Francis <francis@sugarlabs.org>