Fixed bug in frame style visualisation for objects