---------- Bugfix #5398: setting object layers from background render caused "bad call to addqueue: 0 (18, 1)" messages to be sent to the console. Add a check in addqueue_ext() for G.background first before printing.