fixed screenshot when running using maven