fix screenshot when screenshot not supported