fix screenshot upload bug

Fixes #3