Fix screen error when screen not loaded

Fix #143
Merge pull request #148 from Xandaros/iss143

Fix screen error when screen not loaded