Synchronize layer order with printing plugin