Bug fix with filling empty tiles