Fixed incorrect material mode in bubble elements.