Added init() method to component & entity support for width and height