Resolved rectangle bug in map panel