Fixed #3 ignore size attribute when initilizing a view