You need to call layer_sort(void* element, var layer) for that smile