Separated drawing tiles & objects

Added compatibility function