Separate from TilemapLayer after custom callbacks.

Here is my personal fix for issue #890 if wanted.