Fix double render