fixed screenshot rect error