Correct layer order

Fix for #60