Added work around for getSize glitch