Successfully generating screenshot