frontend: fix screenshot functionality for pollux