fix screenshot saving