Update RenderFloatingItem with working code