Fixed graphical issues caused by not correctly inheriting objects.