improved screenshot positioning