fix screenshots

fix the bug of screenshots being black