Issue with screenshot not editing after taking screenshot