Fix dynamic layout of tile