Bug fix: beam contours caused crash after last commit!