Return viewport size in getSize method.