Added check for failed screen fits