fix(core): fix crashes and wrong screenshots