change screenshot method in Device now returns a RawImage