core:Window improve screenshot method, closes #1455