Added display class and fixed issue with transparent rendering