Composer: fixed screenshot functionality