Added transparent tile option and logic