Fix tiletypes crash

This should keep tiletypes from crashing when trying to run "paint" or "filter" without arguments.