Support for taking screenshots