bugfix: visibility transfered during object promotion
4.0.5