added support for multiple inheritance
fixed images not scaling beyond 1600px