FxFrame compilation fix