Fix pattern map height