Fixes maximum call stack exceeded error when using display: block property

:smile: