workarounds for rendering differently sized components