Fix bug in memory mapped screen