Fixed screen not refreshing correctly.