[Fix #4341] Alternative layout not working in com_wrapper