Fix huge framerate after using automap (#207)