Made css map drawing work