fixed negative layers for non flash targets, added test layer world